package com.yuncheng.spcyApi.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yuncheng.spcyApi.bo.ParamsBo;
import com.yuncheng.spcyApi.entity.SpcyRsNotice;
import com.yuncheng.common.base.service.BaseService;
import com.yuncheng.spcyApi.vo.common.OrderItemVo;

import java.util.HashMap;

/**
 * @Description: 审评查验-公告
 * @Author: yuncheng
 * @Date: 2023-11-08
 * @Version: V1.0
 */
public interface ISpcyRsNoticeService extends BaseService<SpcyRsNotice> {

    // 公告分页查询
    IPage<SpcyRsNotice> queryPageNotice(SpcyRsNotice notice,
                                        String startTime, String endTime,
                                        Integer pageNo, Integer pageSize,
                                        OrderItemVo orderItemVo);

    // 公告添加
    SpcyRsNotice addNotice(SpcyRsNotice notice);

    // 公告更新
    void updateNotice(HashMap<String,Object> paramMap);

    // 公告删除
    void deleteNotice(ParamsBo paramsBo);

    // 公告查看
    SpcyRsNotice queryById(String id);


}
